#!/bin/bash
stap -d /root/open_source/ptrace/demo --ldd \
-e 'probe process("demo").function("Demo::Print") {print_ustack(ubacktrace())}' \
-c "/root/open_source/ptrace/demo"
